package cn.wolfcode.mapper;

import cn.wolfcode.domain.Dept;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface DeptMapper {

    List<Dept> list();

    void delete(Long id);

    void save(Dept dept);

    Dept selById(Long id);

    void update(Dept dept);
}
